package com.ruoyi.ora.service;

import com.ruoyi.ora.domain.VoiceMemoir;
import com.ruoyi.ora.domain.VoiceRecord;

import java.util.List;

/**
 * 录音回忆录Service接口
 * 
 * @author liuwp
 * @date 2025-04-10
 */
public interface IVoiceMemoirService 
{
    /**
     * 查询录音回忆录
     * 
     * @param id 录音回忆录主键
     * @return 录音回忆录
     */
    public VoiceMemoir selectVoiceMemoirById(Long id);

    /**
     * 查询录音回忆录列表
     * 
     * @param voiceMemoir 录音回忆录
     * @return 录音回忆录集合
     */
    public List<VoiceMemoir> selectVoiceMemoirList(VoiceMemoir voiceMemoir);

    public List<VoiceMemoir> selectVoiceMemoirListCollection(VoiceMemoir voiceMemoir);

    public List<VoiceMemoir> selectVoiceMemoirListDeviceUser(VoiceMemoir voiceMemoir);

    /**
     * 根据业务主键查询一条记录：录音回忆录
     *
     * @param voiceMemoir 录音回忆录
     * @return 录音回忆录
     */
    public VoiceMemoir selectOneVoiceMemoir(VoiceMemoir voiceMemoir);

    /**
     * 新增录音回忆录
     * 
     * @param voiceMemoir 录音回忆录
     * @return 结果
     */
    public int insertVoiceMemoir(VoiceMemoir voiceMemoir);

    /**
     * 修改录音回忆录
     * 
     * @param voiceMemoir 录音回忆录
     * @return 结果
     */
    public int updateVoiceMemoir(VoiceMemoir voiceMemoir);

    /**
     * 修改录音回忆录
     *
     * @param voiceMemoir 录音回忆录
     * @param voiceMemoir 录音回忆录条件
     * @return 结果
     */
    public int updateVoiceMemoirCondition(VoiceMemoir voiceMemoir, VoiceMemoir voiceMemoirCondition);

    /**
     * 批量删除录音回忆录
     * 
     * @param ids 需要删除的录音回忆录主键集合
     * @return 结果
     */
    public int deleteVoiceMemoirByIds(Long[] ids);

    /**
     * 删除录音回忆录信息
     * 
     * @param id 录音回忆录主键
     * @return 结果
     */
    public int deleteVoiceMemoirById(Long id);

    /**
     * 条件删除录音回忆录
     *
     * @param voiceMemoir 录音回忆录
     * @return 结果
     */
    public int deleteVoiceMemoirByCondition(VoiceMemoir voiceMemoir);
}
